package com.pig4cloud.pig.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pig4cloud.pig.admin.api.entity.MetaFieldEntity;
import com.pig4cloud.pig.common.core.util.R;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MetaFieldMapper extends BaseMapper<MetaFieldEntity> {

	Page<MetaFieldEntity> queryMetaFieldEntityPage(Page page, MetaFieldEntity metaField);

	Boolean removeMetaField(Long[] ids);

	Boolean reduction(Long id);

	MetaFieldEntity getMetaFieldEntityByLabel(MetaFieldEntity metaField);

	List<MetaFieldEntity> queryDelDataMetaField(Long[] ids);

}
